<?php

	class CustomerInfo
	{
		
		private $id;
		private $email;
		private $userName;
		private $phoneNo;
		
		private $mgmId;
		private $fullName;
		private $identityNo;
		private $address1;
		private $address2;
		private $mobileNo;
		private $startDate;

		private $child;
		private $childActive;
		private $status;
		

		function __construct($id,$email,$userName,$phoneNo,$mgmId,$fullName,$identityNo,$address1,$address2,$mobileNo,$startDate,$child,$childActive,$status)
		{			
			$this->id = $id;
			$this->email = $email;
			$this->userName = $userName;
			$this->phoneNo = $phoneNo;
			
			$this->mgmId = $mgmId;
			$this->fullName = $fullName;
			$this->identityNo = $identityNo;
			$this->address1 = $address1;
			$this->address2 = $address2;
			$this->mobileNo = $mobileNo;
			$this->startDate = $startDate;
			
			$this->child = $child;
			$this->childActive = $childActive;
			$this->status = $status;
		}
		
		public function getId()
		{
			return $this->id;
		}
		
		public function setId($id)
		{
			$this->id = $id;
		}
		
		public function getEmail()
		{
			return $this->email;
		}
		
		public function setEmail($email)
		{
			$this->email = $email;
		}
		
		public function getUserName()
		{
			return $this->userName;
		}
		
		public function setUserName($userName)
		{
			$this->userName = $userName;
		}
		
		public function getPhoneNo()
		{
			return $this->phoneNo;
		}
		
		public function setPhoneNo($phoneNo)
		{
			$this->phoneNo = $phoneNo;
		}
		
		public function getMgmId()
		{
			return $this->mgmId;
		}
		
		public function setMgmId($mgmId)
		{
			$this->mgmId = $mgmId;
		}
		
		public function getFullName()
		{
			return $this->fullName;
		}
		
		public function setFullName($fullName)
		{
			$this->fullName = $fullName;
		}
		
		public function getIdentityNo()
		{
			return $this->identityNo;
		}
		
		public function setIdentityNo($identityNo)
		{
			$this->identityNo = $identityNo;
		}
		
		public function getAddress1()
		{
			return $this->address1;
		}
		
		public function setAddress1($address1)
		{
			$this->address1 = $address1;
		}
		
		public function getAddress2()
		{
			return $this->address2;
		}
		
		public function setAddress2($address2)
		{
			$this->address2 = $address2;
		}
		
		public function getMobileNo()
		{
			return $this->mobileNo;
		}
		
		public function setMobileNo($mobileNo)
		{
			$this->mobileNo = $mobileNo;
		}
		
		public function getStartDate()
		{
			return $this->startDate;
		}
		
		public function setStartDate($startDate)
		{
			$this->startDate = $startDate;
		}
		
		public function getChild()
		{
			return $this->child;
		}
		
		public function setChild($child)
		{
			$this->child = $child;
		}
		
		public function getChildActive()
		{
			return $this->childActive;
		}
		
		public function setChildActive($childActive)
		{
			$this->childActive = $childActive;
		}
		
		public function getStatus()
		{
			return $this->status;
		}
		
		public function setStatus($status)
		{
			$this->status = $status;
		}
	}
	
	class retreaveInfo
	{
		private $totalChild;
		private $totalActive;
		private $trees;
		
		function __construct($totalChild,$totalActive,$trees)
		{
			$this->totalChild = $totalChild;
			$this->totalActive = $totalActive;
			$this->trees = $trees;
		}
		
		public function getTotalChild()
		{
			return $this->totalChild;
		}
		
		public function setTotalChild($totalChild)
		{
			$this->totalChild = $totalChild;
		}
		
		public function getTotalActive()
		{
			return $this->totalActive;
		}
		
		public function setTotalActive($totalActive)
		{
			$this->totalActive = $totalActive;
		}
		
		public function getTrees()
		{
			return $this->trees;
		}
		
		public function setTrees($trees)
		{
			$this->trees = $trees;
		}
		
		
	}
	
	class EntryIncomeDeclaration
	{
		private $id;
		private $mgm_id;
		private $parentEntry;
		private $childEntry;
		private $parentIncome;
		private $childIncome;
		private $totalCommission;
		
		function __construct($id,$mgm_id,$parentEntry,$childEntry,$parentIncome,$childIncome,$totalCommission)
		{
			$this->id = $id;
			$this->mgm_id = $mgm_id;
			$this->parentEntry = $parentEntry;
			$this->childEntry = $childEntry;
			$this->parentIncome = $parentIncome;
			$this->childIncome = $childIncome;
			$this->totalCommission = $totalCommission;
		}
		
		public function getId()
		{
			return $this->id;
		}
		
		public function setId($id)
		{
			$this->id = $id;
		}
		
		public function getMgm_id()
		{
			return $this->mgm_id;
		}
		
		public function setMgm_id($mgm_id)
		{
			$this->mgm_id = $mgm_id;
		}
		
		public function getParentEntry()
		{
			return $this->parentEntry;
		}
		
		public function setParentEntry($parentEntry)
		{
			$this->parentEntry = $parentEntry;
		}
		
		public function getChildEntry()
		{
			return $this->childEntry;
		}
		
		public function setChildEntry($childEntry)
		{
			$this->childEntry = $childEntry;
		}
		
		public function getParentIncome()
		{
			return $this->parentIncome;
		}
		
		public function setParentIncome($parentIncome)
		{
			$this->parentIncome = $parentIncome;
		}
		
		public function getChildIncome()
		{
			return $this->childIncome;
		}
		
		public function setChildIncome($childIncome)
		{
			$this->childIncome = $childIncome;
		}
		
		public function getTotalCommission()
		{
			return $this->totalCommission;
		}
		
		public function setTotalCommission($totalCommission)
		{
			$this->totalCommission = $totalCommission;
		}
	}

?>